//
//  HotkeyWordsView.h
//  B5M
//
//  Created by lienbao on 25/07/2014.
//  Copyright (c) 2014 b5m. All rights reserved.
//

#import <UIKit/UIKit.h>



typedef void(^HotkeyWordsViewSelectKeys)(NSString *keywords);

@interface HotkeyWordsView : UIView

@property (nonatomic, readonly) UILabel *titleLabel;

@property (nonatomic, copy) HotkeyWordsViewSelectKeys selectKeywordsBlock;

- (id)initWithFrame:(CGRect)frame hotkeyWords:(NSArray *)hotKeyWords;
- (id)initWithFrame:(CGRect)frame hotkeyWords:(NSArray *)hotKeyWords rowLimit:(NSInteger)limit;
- (id)initWithFrame:(CGRect)frame hotkeyWords:(NSArray *)hotKeyWords rowLimit:(NSInteger)limit contentInset:(UIEdgeInsets)inset;
- (id)initWithFrame:(CGRect)frame hotkeyWords:(NSArray *)hotKeyWords rowLimit:(NSInteger)limit contentInset:(UIEdgeInsets)inset autoSize:(BOOL)atuoSize;

@end
